package com.cskaoyan.service;

import com.cskaoyan.bean.User;

import java.util.List;

/**
 * 类<code>Doc</code>用于：TODO
 *
 * @author Acher
 * @version 1.0
 * @date 2021-10-16
 */
public interface UserService {
    boolean login(User user);

    List<User> getUsers();

    int deleteUser(Integer id);

    int getUserById(Integer id);

    int update(User user);

    Integer updateUserNameById(Integer id, String name);
}
